docs: Document GTK_MEDIA
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Nov 2020 14:58:26 +0000 (09:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 8 Nov 2020 14:58:26 +0000 (09:58 -0500)
Add a paragraph about the GTK_MEDIA environment variable.

docs/reference/gtk/running.md

index 2135eaa8d52b5b76e057bdc7cf220a242f5309cd..d0da90a5df79e299e58eee2b3e69bb2bc92532d4 100644 (file)
@@ -98,6 +98,14 @@ be used for the default IM module. This also can be a colon-separated
 list of input-methods, which GTK will try in turn until it finds one
 available on the system.
 
+### GTK_MEDIA
+
+Specifies what backend to load for #GtkMediaFile. The possible values
+depend on what options GTK was built with, and can include 'gstreamer',
+'ffmpeg' and 'none'. If set to 'none', media playback will be unavailable.
+The special value 'help' can be used to obtain a list of all supported
+media backends.
+
 ### GTK_EXE_PREFIX
 
 If set, GTK uses `$GTK_EXE_PREFIX/lib` instead of the libdir